<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <title>用户登录</title>
</head>
<body>
<h1>用户登录</h1>
<hr>
<form method="post" action="${pageContext.request.contextPath}/user/login">
    用户名:<input type="text" name="username"><font color="red" size="2">${message}</font><br>
    密码:<input type="text" name="password"><br>
    <input type="submit" value="登录">
    <a href="addUser.jsp"><font color="blue">没有账号? 点击注册</font></a><br>

</form>
</body>
</html>